Skip to content

Conversation

johahor
Copy link
Member

@johahor johahor commented Oct 23, 2026

This PR adds basic sort functionality to the searchBar, so users can now sort by Rating.

Suggested follow-ups related to "Rating" would be:

  1. Show rating in BookCard and selectedBook.

  2. Add possibility for Logged in users to give a book a rating (and possible show all the books they have rated in another page as well, but this is not high priority)

This PR builds on #51 and should be merged after that.

Closes #37

@johahor johahor requested a review from a team as a code owner October 23, 2026 10:22
@johahor johahor self-assigned this Oct 23, 2026
@johahor johahor added the enhancement New feature or request label Oct 23, 2026
@martakam
Copy link
Member

While the git history may look weird, everything is fine. This branch had a merge conflict with main because of the same issue as in #51, and this PR builds on top of that one. For details, please read comment the following comment: #51 (comment)

In order to re-use the same fix as was applied in #51, I rebased this branch against #51. I'll review as normal now

martakam
martakam previously approved these changes Oct 24, 2026
Copy link
Member

@martakam martakam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean implementation. Left a comment... about leaving a comment (in the code).

Co-authored-by: Martin Alexander Kaminski <martakam@stud.ntnu.no>
martakam
martakam previously approved these changes Oct 25, 2026
@johahor johahor dismissed martakam’s stale review October 25, 2026 20:50

The merge-base changed after approval.

martakam
martakam previously approved these changes Oct 27, 2026
@johahor johahor dismissed martakam’s stale review October 27, 2026 09:44

The merge-base changed after approval.

@martakam martakam self-requested a review October 27, 2026 09:44
martakam
martakam previously approved these changes Oct 27, 2026
@martakam martakam merged commit 452c100 into main Oct 27, 2026
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add sorting options to the application
2 participants